3.1.96 \(\int (-1+\sinh ^2(x))^{3/2} \, dx\) [96]

Optimal. Leaf size=87 \[ \frac {2 i F(i x|-1) \sqrt {1-\sinh ^2(x)}}{3 \sqrt {-1+\sinh ^2(x)}}+\frac {1}{3} \cosh (x) \sinh (x) \sqrt {-1+\sinh ^2(x)}+\frac {2 i E(i x|-1) \sqrt {-1+\sinh ^2(x)}}{\sqrt {1-\sinh ^2(x)}} \]

[Out]

2/3*I*(cosh(x)^2)^(1/2)/cosh(x)*EllipticF(I*sinh(x),I)*(1-sinh(x)^2)^(1/2)/(-1+sinh(x)^2)^(1/2)+1/3*cosh(x)*si
nh(x)*(-1+sinh(x)^2)^(1/2)+2*I*(cosh(x)^2)^(1/2)/cosh(x)*EllipticE(I*sinh(x),I)*(-1+sinh(x)^2)^(1/2)/(1-sinh(x
)^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {3259, 3251, 3257, 3256, 3262, 3261} \begin {gather*} \frac {1}{3} \sinh (x) \sqrt {\sinh ^2(x)-1} \cosh (x)+\frac {2 i \sqrt {1-\sinh ^2(x)} F(i x|-1)}{3 \sqrt {\sinh ^2(x)-1}}+\frac {2 i \sqrt {\sinh ^2(x)-1} E(i x|-1)}{\sqrt {1-\sinh ^2(x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(-1 + Sinh[x]^2)^(3/2),x]

[Out]

(((2*I)/3)*EllipticF[I*x, -1]*Sqrt[1 - Sinh[x]^2])/Sqrt[-1 + Sinh[x]^2] + (Cosh[x]*Sinh[x]*Sqrt[-1 + Sinh[x]^2
])/3 + ((2*I)*EllipticE[I*x, -1]*Sqrt[-1 + Sinh[x]^2])/Sqrt[1 - Sinh[x]^2]

Rule 3251

Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)]^2)/Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2], x_Symbol] :> Dist[
B/b, Int[Sqrt[a + b*Sin[e + f*x]^2], x], x] + Dist[(A*b - a*B)/b, Int[1/Sqrt[a + b*Sin[e + f*x]^2], x], x] /;
FreeQ[{a, b, e, f, A, B}, x]

Rule 3256

Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2], x_Symbol] :> Simp[(Sqrt[a]/f)*EllipticE[e + f*x, -b/a], x] /
; FreeQ[{a, b, e, f}, x] && GtQ[a, 0]

Rule 3257

Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2], x_Symbol] :> Dist[Sqrt[a + b*Sin[e + f*x]^2]/Sqrt[1 + b*(Sin
[e + f*x]^2/a)], Int[Sqrt[1 + (b*Sin[e + f*x]^2)/a], x], x] /; FreeQ[{a, b, e, f}, x] &&  !GtQ[a, 0]

Rule 3259

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_), x_Symbol] :> Simp[(-b)*Cos[e + f*x]*Sin[e + f*x]*((a + b*Si
n[e + f*x]^2)^(p - 1)/(2*f*p)), x] + Dist[1/(2*p), Int[(a + b*Sin[e + f*x]^2)^(p - 2)*Simp[a*(b + 2*a*p) + b*(
2*a + b)*(2*p - 1)*Sin[e + f*x]^2, x], x], x] /; FreeQ[{a, b, e, f}, x] && NeQ[a + b, 0] && GtQ[p, 1]

Rule 3261

Int[1/Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2], x_Symbol] :> Simp[(1/(Sqrt[a]*f))*EllipticF[e + f*x, -b/a]
, x] /; FreeQ[{a, b, e, f}, x] && GtQ[a, 0]

Rule 3262

Int[1/Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2], x_Symbol] :> Dist[Sqrt[1 + b*(Sin[e + f*x]^2/a)]/Sqrt[a +
b*Sin[e + f*x]^2], Int[1/Sqrt[1 + (b*Sin[e + f*x]^2)/a], x], x] /; FreeQ[{a, b, e, f}, x] &&  !GtQ[a, 0]

Rubi steps

\begin {align*} \int \left (-1+\sinh ^2(x)\right )^{3/2} \, dx &=\frac {1}{3} \cosh (x) \sinh (x) \sqrt {-1+\sinh ^2(x)}+\frac {1}{3} \int \frac {4-6 \sinh ^2(x)}{\sqrt {-1+\sinh ^2(x)}} \, dx\\ &=\frac {1}{3} \cosh (x) \sinh (x) \sqrt {-1+\sinh ^2(x)}-\frac {2}{3} \int \frac {1}{\sqrt {-1+\sinh ^2(x)}} \, dx-2 \int \sqrt {-1+\sinh ^2(x)} \, dx\\ &=\frac {1}{3} \cosh (x) \sinh (x) \sqrt {-1+\sinh ^2(x)}-\frac {\left (2 \sqrt {1-\sinh ^2(x)}\right ) \int \frac {1}{\sqrt {1-\sinh ^2(x)}} \, dx}{3 \sqrt {-1+\sinh ^2(x)}}-\frac {\left (2 \sqrt {-1+\sinh ^2(x)}\right ) \int \sqrt {1-\sinh ^2(x)} \, dx}{\sqrt {1-\sinh ^2(x)}}\\ &=\frac {2 i F(i x|-1) \sqrt {1-\sinh ^2(x)}}{3 \sqrt {-1+\sinh ^2(x)}}+\frac {1}{3} \cosh (x) \sinh (x) \sqrt {-1+\sinh ^2(x)}+\frac {2 i E(i x|-1) \sqrt {-1+\sinh ^2(x)}}{\sqrt {1-\sinh ^2(x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.09, size = 78, normalized size = 0.90 \begin {gather*} \frac {-24 i \sqrt {3-\cosh (2 x)} E(i x|-1)+8 i \sqrt {3-\cosh (2 x)} F(i x|-1)+\frac {-6 \sinh (2 x)+\sinh (4 x)}{\sqrt {2}}}{12 \sqrt {-3+\cosh (2 x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(-1 + Sinh[x]^2)^(3/2),x]

[Out]

((-24*I)*Sqrt[3 - Cosh[2*x]]*EllipticE[I*x, -1] + (8*I)*Sqrt[3 - Cosh[2*x]]*EllipticF[I*x, -1] + (-6*Sinh[2*x]
 + Sinh[4*x])/Sqrt[2])/(12*Sqrt[-3 + Cosh[2*x]])

________________________________________________________________________________________

Maple [A]
time = 0.97, size = 106, normalized size = 1.22

method result size
default \(\frac {\sqrt {\left (-1+\sinh ^{2}\left (x \right )\right ) \left (\cosh ^{2}\left (x \right )\right )}\, \left (\left (\cosh ^{4}\left (x \right )\right ) \sinh \left (x \right )+2 i \sqrt {\frac {1}{2}+\frac {\cosh \left (2 x \right )}{2}}\, \sqrt {-\left (\cosh ^{2}\left (x \right )\right )+2}\, \EllipticF \left (i \sinh \left (x \right ), i\right )-6 i \sqrt {\frac {1}{2}+\frac {\cosh \left (2 x \right )}{2}}\, \sqrt {-\left (\cosh ^{2}\left (x \right )\right )+2}\, \EllipticE \left (i \sinh \left (x \right ), i\right )-2 \left (\cosh ^{2}\left (x \right )\right ) \sinh \left (x \right )\right )}{3 \sqrt {\sinh ^{4}\left (x \right )-1}\, \cosh \left (x \right ) \sqrt {-1+\sinh ^{2}\left (x \right )}}\) \(106\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-1+sinh(x)^2)^(3/2),x,method=_RETURNVERBOSE)

[Out]

1/3*((-1+sinh(x)^2)*cosh(x)^2)^(1/2)*(cosh(x)^4*sinh(x)+2*I*(cosh(x)^2)^(1/2)*(-cosh(x)^2+2)^(1/2)*EllipticF(I
*sinh(x),I)-6*I*(cosh(x)^2)^(1/2)*(-cosh(x)^2+2)^(1/2)*EllipticE(I*sinh(x),I)-2*cosh(x)^2*sinh(x))/(sinh(x)^4-
1)^(1/2)/cosh(x)/(-1+sinh(x)^2)^(1/2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-1+sinh(x)^2)^(3/2),x, algorithm="maxima")

[Out]

integrate((sinh(x)^2 - 1)^(3/2), x)

________________________________________________________________________________________

Fricas [F]
time = 0.09, size = 10, normalized size = 0.11 \begin {gather*} {\rm integral}\left ({\left (\sinh \left (x\right )^{2} - 1\right )}^{\frac {3}{2}}, x\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-1+sinh(x)^2)^(3/2),x, algorithm="fricas")

[Out]

integral((sinh(x)^2 - 1)^(3/2), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (\sinh ^{2}{\left (x \right )} - 1\right )^{\frac {3}{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-1+sinh(x)**2)**(3/2),x)

[Out]

Integral((sinh(x)**2 - 1)**(3/2), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-1+sinh(x)^2)^(3/2),x, algorithm="giac")

[Out]

integrate((sinh(x)^2 - 1)^(3/2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left ({\mathrm {sinh}\left (x\right )}^2-1\right )}^{3/2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((sinh(x)^2 - 1)^(3/2),x)

[Out]

int((sinh(x)^2 - 1)^(3/2), x)

________________________________________________________________________________________